package com.new2i.dao.impl;
  
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
 
import com.new2i.dao.able.EmrPicDao; 
import com.new2i.dao.mapper.EmrPicMapper; 
import com.new2i.model.EmrPicEntity;

/**
 * 新生儿病历数据库操作实现类
 * 
 * @since 2015/09/04
 * @author 2i
 *
 */
@Repository("EmrPicDao")
public class EmrPicDaoImpl implements EmrPicDao{

	@Autowired
	private EmrPicMapper emrPicMapper;
	  
	@Override
	public EmrPicEntity insertEmrPic(EmrPicEntity emrpic) {
		emrPicMapper.insertEmrPic(emrpic);
		return emrpic;
	} 
}
